package com.glw.sso.platform.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum LoginWayEnum {
    SYS(1, "系统登录"),
    WECHAT(2, "微信登录"),
    WEIBO(3, "微博登录");

    @EnumValue
    private final int code;
    @JsonValue
    private final String descp;

    LoginWayEnum(int code, String descp) {
        this.code = code;
        this.descp = descp;
    }
}